<?php

namespace common\models\datas;

use Yii;

/**
 * This is the model class for table "{{%scholarship_frozen_log}}".
 *
 * @property integer $id
 * @property integer $customer_id
 * @property integer $grab_time
 * @property integer $status
 * @property integer $benefit_id
 * @property integer $is_receive
 * @property integer $packet_id
 * @property integer $invalid_time
 * @property integer $is_activation
 * @property integer $give_time
 */
class ScholarshipFrozenLog extends \common\components\bases\BaseModel
{
    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return '{{%scholarship_frozen_log}}';
    }

    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            [['customer_id', 'money','grab_time', 'status', 'benefit_id', 'is_receive', 'packet_id', 'invalid_time','give_time','site_id','mode'], 'integer'],
            [['note'], 'string']
        ];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'id' => Yii::t('common', '自增id'),
            'customer_id' => Yii::t('common', '持有奖学金会员 id'),
            'money' => Yii::t('common', '金额'),
            'grab_time' => Yii::t('common', '获取时间'),
            'status' => Yii::t('common', '是否转让（0 否 1是）'),
            'benefit_id' => Yii::t('common', '被赠送会员id'),
            'is_receive' => Yii::t('common', '被赠送人是否领取'),
            'packet_id' => Yii::t('common', '奖学金id'),
            'invalid_time' => Yii::t('common', '过期时间'),
            'give_time' => Yii::t('common', '赠送时间'),
            'note' => Yii::t('common', '备注'),
            'site_id' => Yii::t('common', '分店id'),
            'mode' => Yii::t('common', '所属类型（1共同体 2综合体 3管弦乐）'),
        ];
    }
}
